Renesas Electronics /R7FA6T3BB /ADC120 /ADCMPCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ADCMPCR

15 1211 87 43 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (00)CMPAB 0 (0)CMPBE 0 (0)CMPAE 0 (0)CMPBIE 0 (0)WCMPE 0 (0)CMPAIE

CMPBE=0, CMPAB=00, WCMPE=0, CMPBIE=0, CMPAE=0, CMPAIE=0

Description

A/D Compare Function Control Register

Fields

CMPAB

Window A/B Composite Conditions Setting

0 (00): Output ADC120_WCMPM when window A OR window B comparison conditions are met. Otherwise, output ADC120_WCMPUM.

1 (01): Output ADC120_WCMPM when window A EXOR window B comparison conditions are met. Otherwise, output ADC120_WCMPUM.

2 (10): Output ADC120_WCMPM when window A AND window B comparison conditions are met. Otherwise, output ADC120_WCMPUM.

3 (11): Setting prohibited.

CMPBE

Compare Window B Operation Enable

0 (0): Disable compare window B operation. Disable ADC120_WCMPM and ADC120_WCMPUM outputs.

1 (1): Enable compare window B operation.

CMPAE

Compare Window A Operation Enable

0 (0): Disable compare window A operation. Disable ADC120_WCMPM and ADC120_WCMPUM outputs.

1 (1): Enable compare window A operation.

CMPBIE

Compare B Interrupt Enable

0 (0): Disable ADC120_CMPBI interrupt when comparison conditions (window B) are met.

1 (1): Enable ADC120_CMPBI interrupt when comparison conditions (window B) are met.

WCMPE

Window Function Setting

0 (0): Disable window function Window A and window B operate as a comparator to compare the single value on the lower side with the A/D conversion result.

1 (1): Enable window function Window A and window B operate as a comparator to compare the two values on the upper and lower sides with the A/D conversion result.

CMPAIE

Compare A Interrupt Enable

0 (0): Disable ADC120_CMPAI interrupt when comparison conditions (window A) are met.

1 (1): Enable ADC120_CMPAI interrupt when comparison conditions (window A) are met.

Links

() ()